package com.hs.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName User
 * @Description TODO
 * @Author wangzhihao
 * @Date 2025年08月12日 20:57
 * @Version 1.0
 */
@Data
public class User {
//    用户表
    private int id;
    private String account;
    private String password;
    private String nickname;
    private String address;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime;
    private String phone;
    private int points;

    private List<Psych> psych;
}
